home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 22
/
Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso
/
Aminet
/
dev
/
amos
/
amos_col.lha
/
AMOS-COL
/
Stars2.amos
/
Stars2.amosSourceCode
Wrap
AMOS Source Code
|
1980-01-10
|
748b
|
33 lines
'By Delta/Opium
'
'�ukasz �elezny
'ul. W�oska 4D/6
'42-612 Tarnowskie G�ry
'Poland
'
WEKTOROWE_GWIAZDKI[40]
Procedure WEKTOROWE_GWIAZDKI[LICZBA]
'DELTA/OPIUM
Screen Open 0,320,250,2,Lowres
Hide : Curs Off : Flash Off : Cls 0
Palette $0,$FFF
Double Buffer : Autoback 0
Dim X_POS(LICZBA),Y_POS(LICZBA),SPEED(LICZBA)
For A=0 To LICZBA
SPEED(A)=Rnd(5)+1
X_POS(A)=Rnd(320)
Y_POS(A)=Rnd(246)
Next
Ink 1,1,1
A=Execall(-132)
Do
For A=0 To LICZBA
X_POS(A)=X_POS(A)+SPEED(A)
X_POS(A)=X_POS(A) mod Screen Width
Plot X_POS(A),Y_POS(A),1
Next
Screen Swap
If Btst(6,$BFE001)=False : A=Execall(-138) : End : End If
Cls 0
Loop
End Proc